package com.zhixiang.xaec.action.common;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;

import com.zhixiang.core.web.action.BaseAction;
import com.zhixiang.xaec.service.common.ListnoService;

@Controller
@Scope("prototype")
public class ListnoAction extends BaseAction
{

    @Autowired
    private ListnoService listnoService;
    
    private static final long serialVersionUID = 8188273539692226041L;

    
    public String getNo(){
        String prefix = getRequest().getParameter("prefix"); 
        setResult(listnoService.getListNo(prefix));
        return SUCCESS;
    }
}
